x86/emul: only emulate possibly operand sizes for POPA
authorJan Beulich <jbeulich@suse.com>
Thu, 8 Nov 2012 09:52:32 +0000 (10:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 Nov 2012 09:52:32 +0000 (10:52 +0100)
commit21a80b2bf97a76d0932b45a35af918b3409e77c1
tree7c8d0b21125c4efb6897aadc7acd9e1a66e04468
parent7a8f6d0607a38c64506b4e8b473d955bf8e2a71f
x86/emul: only emulate possibly operand sizes for POPA

This opcode neither supports 1-byte operands, nor does it support
8-byte ones (since the opcode is undefined in 64-bit mode). Simplify
the code accordingly.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_emulate/x86_emulate.c